//
//  BarToolView.m
//  MVVM+RAC
//
//  Created by bopeng on 16/5/31.
//  Copyright © 2016年 Scott. All rights reserved.
//

#import "BarToolView.h"

@implementation BarToolView


- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        BarToolView *toolView = [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:self options:nil] firstObject];
        self.frame = frame;
        toolView.frame = CGRectMake(0, 0, frame.size.width, frame.size.height);
        [self addSubview:toolView];
    }
    
    return self;
}



@end
